import request from '@/utils/request'

// 获取 活动列表
export function getActivityList(keyword, perPage, page) {
  const data = { keyword, perPage, page }
  return request({
    url: 'api/v1/backend/activity/business_list',
    method: 'post',
    data
  })
}

// 获取 活动列表 详情
export function getaDetail(businessId) {
  const data = { businessId }
  return request({
    url: 'api/v1/backend/activity/detail',
    method: 'post',
    data
  })
}
